package com.huawei.appgallery.forum.search.card;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.huawei.appgallery.forum.base.card.ForumCard;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import huawei.widget.HwTextView;
import o.azb;
import o.bzw.a;
import o.cgz;

public class ForumSearchTitleCard extends ForumCard {
    private HwTextView ॱ;

    public ForumSearchTitleCard(Context context) {
        super(context);
    }

    public cgz ˏ(View view) {
        ʽ(view);
        ViewGroup viewGroup = (ViewGroup) view.findViewById(a.ˎ);
        azb.ˏ(view, a.ˎ);
        this.ॱ = (HwTextView) viewGroup.findViewById(a.ˋ);
        return this;
    }

    public void ˏ(CardBean cardBean) {
        if (cardBean instanceof ForumSearchTitleCardBean) {
            super.ˏ(cardBean);
            this.ॱ.setText(((ForumSearchTitleCardBean) cardBean).ˊ());
        }
    }
}
